package srx.open.com.bean;

import android.app.Application;

import com.baidu.mapapi.SDKInitializer;

import cn.bmob.v3.datatype.BmobGeoPoint;
import srx.open.com.mode.AddrItem;
import srx.open.com.utils.BaiDuLbsHelper;
import srx.open.com.utils.DataBaseHelper;

public class SrxApplication extends Application {

    public DataBaseHelper mDataBaseHelper;
    public BaiDuLbsHelper mBaiDuLbsHelper;
    // 保存定位更新的数据.
    public BmobGeoPoint locationBmobGeoPoint = null;
    public AddrItem locationProvinceItem = null;
    public AddrItem locationCityItem = null;
    public AddrItem locationDistrictItem = null;

    @Override
    public void onCreate() {
        super.onCreate();
        SDKInitializer.initialize(this);
        mDataBaseHelper = new DataBaseHelper(getApplicationContext());
        mBaiDuLbsHelper = new BaiDuLbsHelper(getApplicationContext());
    }

}
